<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:custom="http://www.gvfish.com/taglib">
<h:head>
	<title><h:outputText value="#{index.constant.siteName}" /></title>
	<meta content="#{articleShow.article.keyWords}" name="keywords" />
	<meta content="#{articleShow.article.description}" name="description" />
	<link href="/css/head1.css" rel="stylesheet" type="text/css" />
	<link href="/css/articleshow.css" rel="stylesheet" type="text/css" />
	<link href="/css/common.css" rel="stylesheet" type="text/css" />
</h:head>

<h:body>
	<div id="top">
	<div id="header">
	<custom:header></custom:header>
	</div>
	<div id="menu">
	<div><custom:nav></custom:nav></div>

	</div>
	</div>
	<div id="main">
	<div id="left">
	<div id="position">
	<a href="/">首页</a>><a href="/c/#{categoryShow.category.id}.html">#{categoryShow.category.name }</a>
	</div>
	<div class="f14bla">
	<h:dataTable value="#{categoryShow.page.result}" var="article">
		<h:column>
			<a href="/a/#{article.key.parent.id}/#{article.key.id}.html">#{article.title}</a>
		</h:column>
	</h:dataTable>
	<h:form>
		<h:commandButton value="上一页" actionListener="#{categoryShow.getPrePage}"></h:commandButton>
		
		<c:forEach begin="1"  end="#{categoryShow.page.totalPages }" varStatus="status">
			<a href="/c/#{categoryShow.category.id}_#{status.index }.html">#{status.index }&nbsp;</a>
		</c:forEach>
		<h:commandButton value="下一页" actionListener="#{categoryShow.getNextPage}"></h:commandButton>
	</h:form>
	</div>
	</div>
	<div id="right">category</div>
	</div>
	<div id="foot"><custom:foot></custom:foot></div>
</h:body>
</html>